/*
 * Copyright (C), 2002-2017, 苏宁易购电子商务有限公司
 * FileName: ActivityVo.java
 * Author:   15050536
 * Date:     2017年3月27日 下午4:17:56
 * Description: //模块目的、功能描述      
 * History: //修改记录
 * <author>      <time>      <version>    <desc>
 * 修改人姓名             修改时间            版本号                  描述
 */
package com.suning.sawp.member.vo;

import java.util.List;

/**
 * 活动实体对应的vo
 *
 */
public class AdminActivityVo {

	/**
	 * 活动id
	 */
	public String id;

	/**
	 * 活动名称
	 */
	public String name;

	/**
	 * 活动考核开始时间
	 */
	public String startTime;

	/**
	 * 活动考核结束时间
	 */
	public String endTime;

	/**
	 * 客户端 新建活动的时候，会用到
	 */
	private String targetAmount;

	/**
	 * 创建人工号
	 */
	private String createUser;
	
	   /**
     * 创建者角色,0:大区；1:分公司；2:店长
     */
    private Short creatorRole;

    /**
     * 0:刚创建;1:店长已分配;2:督导已分配
     */
    private Short flow;

	/**
	 * 活动关联的门店
	 */
	public List<ActivityStoreVo> stores;

	/**
	 * 关联的品类
	 */
	public List<StoreCateVo> cates;

	public Short getCreatorRole() {
        return creatorRole;
    }

    public void setCreatorRole(Short creatorRole) {
        this.creatorRole = creatorRole;
    }

    public Short getFlow() {
        return flow;
    }

    public void setFlow(Short flow) {
        this.flow = flow;
    }

    public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getStartTime() {
		return startTime;
	}

	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}

	public String getEndTime() {
		return endTime;
	}

	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}

	public String getCreateUser() {
		return createUser;
	}

	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}

	public List<ActivityStoreVo> getStores() {
		return stores;
	}

	public void setStores(List<ActivityStoreVo> stores) {
		this.stores = stores;
	}

	public List<StoreCateVo> getCates() {
		return cates;
	}

	public void setCates(List<StoreCateVo> cates) {
		this.cates = cates;
	}

	public String getTargetAmount() {
		return targetAmount;
	}

	public void setTargetAmount(String targetAmount) {
		this.targetAmount = targetAmount;
	}

	@Override
    public String toString() {
        StringBuilder builder = new StringBuilder();
        builder.append("AdminActivityVo [id=");
        builder.append(id);
        builder.append(", name=");
        builder.append(name);
        builder.append(", startTime=");
        builder.append(startTime);
        builder.append(", endTime=");
        builder.append(endTime);
        builder.append(", targetAmount=");
        builder.append(targetAmount);
        builder.append(", createUser=");
        builder.append(createUser);
        builder.append(", creatorRole=");
        builder.append(creatorRole);
        builder.append(", flow=");
        builder.append(flow);
        builder.append(", stores=");
        builder.append(stores);
        builder.append(", cates=");
        builder.append(cates);
        builder.append("]");
        return builder.toString();
    }

}
